<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="TaskTrace.aspx.cs" Inherits="TaskTrace" Title="TaskTrace" %>

<%@ MasterType VirtualPath="~/MasterPage.master" %>
<%@ Register Namespace="NS_Controls" TagPrefix="cc1" %>
<%@ Register Namespace="CustomControlsNS" TagPrefix="cc2" %>
<asp:Content ID="ContentDefault" ContentPlaceHolderID="ContentPlaceHolderContent"
    runat="Server">
    <link href="../Styles/themes/fancy/tabs.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/themes/fancy/fancy-blue/fancy-blue.css" rel="stylesheet" type="text/css" />
    <asp:UpdatePanel ID="up1" runat="server">
        <ContentTemplate>
            <ajaxToolKit:TabContainer ID="tabContainer" runat="server" CssClass="fancy fancy-blue"
                AutoPostBack="true" OnActiveTabChanged="tabActive_TabChanged">
                <ajaxToolKit:TabPanel ID="tabRequestInvestigation" runat="server" HeaderText="Task Trace">
                    <ContentTemplate>
                        <div id="divTask" runat="server" style="overflow: auto; display: block;">
                            <table width="98%">
                                <tr valign="top">
                                    <td>
                                        <div class="menu_th">
                                            <asp:Label ID="lblTasks" runat="server" CssClass="menu_th">Task Trace</asp:Label>
                                        </div>
                                        <asp:Repeater ID="rptTask" runat="server" OnItemDataBound="rptTask_ItemDataBound">
                                            <HeaderTemplate>
                                                <table border="0" width="100%">
                                                    <tbody>
                                                        <tr class="tdh">
                                                            <td style="width: 10%">
                                                                ID
                                                            </td>
                                                            <td style="width: 15%">
                                                                Uer Name
                                                            </td>
                                                            <td style="width: 15%">
                                                                Project Name
                                                            </td>
                                                            <td style="width: 10%">
                                                                Task Name
                                                            </td>
                                                            <td style="width: 40%">
                                                                Task Description
                                                            </td>
                                                            <td style="width: 10%">
                                                                Status
                                                            </td>
                                                        </tr>
                                            </HeaderTemplate>
                                            <ItemTemplate>
                                                <tr style="height: 2px">
                                                    <td class="tdn" style="width: 10%">
                                                        <asp:LinkButton ID="lnkLabRequest" CssClass="redFont" runat="server" CommandArgument='<%# Eval("[ID]")%>'>
                                                                        <%# Eval("[ID]")%>
                                                        </asp:LinkButton>
                                                    </td>
                                                    <td class="tdn" style="width: 15%">
                                                        <span class="greenFont">
                                                            <%# Eval("[UserName]")%></span>
                                                    </td>
                                                    <td class="tdn" style="width: 15%">
                                                        <span class="blueFont">
                                                            <%# Eval("[ProjectName]")%></span>
                                                    </td>
                                                    <td class="tdn" style="width: 10%">
                                                        <span class="redFont">
                                                            <%# Eval("[TaskName]")%></span>
                                                    </td>
                                                    <td class="tdn" style="width: 40%">
                                                        <span>
                                                            <%# Eval("[TaskDescription]")%></span>
                                                    </td>
                                                    <td class="tdn" style="width: 10%">
                                                        <span class="greenFont">
                                                            <ajaxToolKit:ProgressControl ID="progrCtrl" runat="server" Width="200px" />
                                                        </span>
                                                    </td>
                                                </tr>
                                            </ItemTemplate>
                                            <FooterTemplate>
                                                </tbody></table>
                                            </FooterTemplate>
                                        </asp:Repeater>
                                    </td>
                                </tr>
                            </table>
                            <div class="divEnd">
                            </div>
                            <asp:Label ID="lblCount" runat="server" Text="" CssClass="redFont" />
                            <div style="width: 210mm;">
                                <asp:Table runat="server" ID="tblPagination" Width="100%" BorderColor="Red" />
                            </div>
                        </div>
                    </ContentTemplate>
                </ajaxToolKit:TabPanel>
            </ajaxToolKit:TabContainer>
            <div id="divLinkHome" style="padding: 10px">
                <asp:Image runat="Server" ID="imgReturnMain" ImageUrl="~/Images/Hipocrate/icon_home.gif"
                    AlternateText="Click to return" UseSubmitBehavior="false" Style="cursor: pointer" />
                <asp:HyperLink ID="lnkMainPage" runat="server" Text="Inapoi la pagina principala"
                    NavigateUrl="~/Default.aspx" />
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
    <script language="javascript" type="text/javascript">

    </script>
</asp:Content>
